﻿using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wings.Web.Domain;

namespace Wings.Web.Mapping
{
    public class BookMapping:ClassMap<Book>
    {
        public BookMapping()
        {
            Id(x => x.ID);
            Map(x => x.Name);
            Map(x => x.Price);
            Table("Book");
        }
    }
}
